//
//  ITBaseAlertView.h
//  Water
//
//  Created by seven on 2020/8/5.
//  Copyright © 2020 seven. All rights reserved.
//

#import "ITBaseTipView.h"

NS_ASSUME_NONNULL_BEGIN

@interface ITBaseAlertView : ITBaseTipView

IT_PROPERTY_STRONG BaseLabel *titleLbl;

IT_PROPERTY_STRONG NSString *title;

IT_PROPERTY_STRONG BaseView *contentView;


IT_PROPERTY_STRONG UIButton *okBtn;

IT_PROPERTY_STRONG UIButton *closeBtn;

IT_PROPERTY_ASSIGN CGFloat contentHeight;

IT_PROPERTY_STRONG NSMutableDictionary *resultInfo;


+ (instancetype)showWithinfo:(NSMutableDictionary *)info action:(CustomAction)action;

+ (instancetype)showInView:(UIView *)view frame:(CGRect)frame withinfo:(NSMutableDictionary *)info action:(CustomAction)action;


- (void)setupHeight;

- (void)onCloseAction;

- (void)onDoneAction;

- (void)_onDoneAction;

- (void)setCloseBtnHidden:(BOOL)hidden;
@end

NS_ASSUME_NONNULL_END
